package com.example.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

/**
 * @ClassName LoadBalancer
 * @Author Admin
 * @Date 2020/9/4 6:26
 * @Version 1.0
 **/
public interface LoadBalancer {
    /**
     * 获取服务总数
     */
    ServiceInstance instance(List<ServiceInstance> serviceInstances);
}
